package com.chenglong.supermarket.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.chenglong.supermarket.common.utils.PageUtils;
import com.chenglong.supermarket.product.entity.CategoryEntity;
import com.chenglong.supermarket.product.vo.Catelog2Vo;

import java.util.List;
import java.util.Map;

/**
 * ÉÌÆ·Èý¼¶·ÖÀà
 *
 * @author jiangbei
 * @email 813476318z@gmail.com
 * @date 2021-04-05 17:16:27
 */
public interface CategoryService extends IService<CategoryEntity> {

    PageUtils queryPage(Map<String, Object> params);

    List<CategoryEntity> listWithTree();

    void removueMenuByIds(List<Long> asList);

    List<CategoryEntity> getLevel1Catagorys();

    Map<String,  List<Catelog2Vo>> getCatalogJson();
}

